<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%@page import="cn.jdy.common.constant.GlobalConstant"%>
<%@ taglib prefix="jdy" uri="http://www.qwe.com.cn/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	request.setAttribute("path", request.getContextPath());
	request.setAttribute("VERSION", GlobalConstant.VERSION);// 版本号[试用]，每次发布时更新最后一位数;用于保存静态资源文件版本， 更新浏览器缓存
%>
<!DOCTYPE HTML>
<!--[if IE 8]>
<html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <script language="JavaScript">var _path = '${path}';</script>
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit">
    <title><jdy:siteInfo var="name"/> - 后台管理系统</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta content="" name="description"/>
    <meta content="" name="author"/>
    
	<link rel="stylesheet" type="text/css" href="${path}/assets/fonts/font-awesome.css"/>
	<link rel="stylesheet" type="text/css" href="${path}/assets/plugins/font-awesome/css/font-awesome.min.css"/>
	<link rel="stylesheet" type="text/css" href="${path}/assets/plugins/bootstrap/css/bootstrap.min.css"/>

    <link rel="stylesheet" type="text/css" href="${path}/assets/plugins/uniform/css/uniform.default.css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="${path}/assets/plugins/select2/select2.css"/>
    <link rel="stylesheet" type="text/css" href="${path}/assets/plugins/select2/select2-metronic.css" />
    <!-- END PAGE LEVEL SCRIPTS -->
   
    <!-- BEGIN THEME STYLES -->
    <link rel="stylesheet" type="text/css" href="${path}/assets/css/style-metronic.css"/>
	<link rel="stylesheet" type="text/css" href="${path}/assets/css/style.css"/>
	<link rel="stylesheet" type="text/css" href="${path}/assets/css/style-responsive.css"/>
     
    <link rel="stylesheet" type="text/css" href="${path}/assets/css/plugins.css"/>
    <link rel="stylesheet" type="text/css" href="${path}/assets/css/themes/default.css"/>
    <link rel="stylesheet" type="text/css" href="${path}/assets/css/pages/login-soft.css"/>
    <link rel="stylesheet" type="text/css" href="${path}/assets/css/custom.css"/>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login"  >
<!-- BEGIN LOGO -->
<div class="logo">
    <img src="<jdy:siteInfo var="imgUrl"/>">
</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
    <!-- BEGIN LOGIN FORM -->
    <form class="login-form" action="${path}/userLogin" method="post">
        <h3 class="form-title">请输入您的用户名和密码</h3>

		<c:if test="${!empty msg}">
        <div id="msg" class="alert alert-danger">${msg }</div>
		</c:if>
        <div class="form-group">
            <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
            <label class="control-label visible-ie8 visible-ie9">用户名</label>

            <div class="input-icon">
                <i class="fa fa-user"></i>
                <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="用户名"
                       id="username" name="username"/>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label visible-ie8 visible-ie9">密码</label>

            <div class="input-icon">
                <i class="fa fa-lock"></i>
                <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="密码"
                       id="password" name="password"/>
            </div>
        </div>
        <!--
        <div class="input-group input-medium">
                <input type="text" class="form-control" placeholder="验证码" name="verifyWord" style="width:188px;" autocomplete="off"> 
                <span class="input-group-btn">
					<img src="${path}/imageCode/getImgCode?timestamp=now" title="点击更换"
					style="margin-left:10px;cursor:pointer;height:34px;vertical-align:middle;" id="verifyCodeImg"  onclick="refreshCode()"/>
				</span>
			</div>  -->
        <div class="form-actions">
            <!-- <label class="checkbox">
                <input type="checkbox" name="remember" value="1"/> 记住密码 </label> -->
            <button type="submit" class="btn blue pull-right">
                登录 <i class="m-icon-swapright m-icon-white"></i>
            </button>
        </div>
    </form>
    <!-- END LOGIN FORM -->
</div>
<!-- END LOGIN -->
<!-- BEGIN COPYRIGHT -->
<div class="copyright">
   <jdy:siteInfo var="name"/> - 后台管理系统 .
</div>
<!-- END COPYRIGHT -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
<script src="${path}/assets/plugins/respond.min.js"></script>
<script src="${path}/assets/plugins/excanvas.min.js"></script>
<![endif]-->
<script type="text/javascript" src="${path}/assets/plugins/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="${path}/assets/plugins/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="${path}/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${path}/assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"></script>

 <script type="text/javascript" src="${path}/assets/plugins/uniform/jquery.uniform.min.js"></script>
 <script type="text/javascript" src="${path}/assets/plugins/jquery.cokie.min.js"></script>

<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->

<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
 <script src="assets/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script>
 <script type="text/javascript" src="${path}/assets/plugins/backstretch/jquery.backstretch.min.js"></script>
 <script type="text/javascript" src="${path}/assets/scripts/custom/login-soft.js"></script>
 
<!-- END PAGE LEVEL SCRIPTS -->
<script>
    $(function () {
        Login.init();
    });
    $.backstretch("assets/img/bg/1.jpg"); 
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>